package com.wang.myblog.entity.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wang.myblog.entity.Comment;
import com.wang.myblog.entity.Navbar;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yun_article")
@ApiModel(value = "NavbarDto对象", description = "博客-文章")
public class CommentDto extends Comment {
    @ApiModelProperty(value = "children")
    private List<CommentDto> children;
    @ApiModelProperty(value = "子平评论数量")
    private Integer childrenTotal;

}
